Skip to content

Conversation

@kosar91
Copy link

@kosar91 kosar91 commented May 10, 2018

This commit fixes an error, for cases when the video comes in a resolution greater than 1080p.

VIDEOJS: ERROR: TypeError: Cannot read property 'label' of undefined
at videojs-resolution-switcher.js?W:323
at Array.map ()
at b. (videojs-resolution-switcher.js?W:319)
at HTMLDivElement.e (video.min.js?W:18)
at HTMLDivElement.e (video.min.js?W:18)
at HTMLDivElement.d.dispatcher.d.dispatcher (video.min.js?W:18)
at Object.k [as trigger] (video.min.js?W:18)
at b.a.trigger (video.min.js?W:12)
at b.handleTechPlay_ (video.min.js?W:15)
at constructor.e (video.min.js?W:18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant